#include "../include/gui/redecode.h"
#include <QDebug>

ReDecode::ReDecode()
{

}

void ReDecode::IO_Decode()
{
//  qDebug("decode");
}

///******************************************************************************/
///***************************消息获取解析数据函数**********************************/
///******************************************************************************/
///***********************************************************************************
//名称:BatteryDecode
//输入:无
//输出:无
//作用:电池数据获取函数,获取电池各种实时参数
//***********************************************************************************/
//void ReDecode::BatteryDecode()
//{
//    battery_status_.percentage = qnode.battery_info_re_.percentage;
//    battery_status_.count = qnode.battery_info_re_.count;
//    battery_status_.current = qnode.battery_info_re_.current;
//    battery_status_.errorCode = qnode.battery_info_re_.errorCode;
//    battery_status_.serialNum = qnode.battery_info_re_.serialNum;
//    battery_status_.powerLowLimmit = qnode.battery_info_re_.powerLowLimmit;
//    battery_status_.voltage = qnode.battery_info_re_.voltage;
//    battery_status_.state.data = qnode.battery_info_re_.state;
//    battery_status_.temperature = qnode.battery_info_re_.temperature;
//}
